areasNN n/a   IE 4   DOM n/a

A collection of all AREA elements. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single anchor in the collection (e.g., document.anchors[0], document.anchors(0)). To use the ID attribute in a reference to an anchor, access the object via a document.all.elementID reference.

 
 
Object Model Reference
IE document.areas(i)
document.areas[i]
lengthNN n/a   IE 4   DOM n/a
 Read-only
 

Returns the number of elements in the collection.

 
Example
var howMany = document.areas.length
 
Value
Integer.